package me.sealer.ssm.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

/**
 * @author sealer
 * @date 2017/07/11
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Dwz {
    private Integer id;

    private String longUrl;

    private String shortUrl;

    private Integer longNum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLongUrl() {
        return longUrl;
    }

    public void setLongUrl(String longUrl) {
        this.longUrl = longUrl == null ? null : longUrl.trim();
    }

    public String getShortUrl() {
        return shortUrl;
    }

    public void setShortUrl(String shortUrl) {
        this.shortUrl = shortUrl == null ? null : shortUrl.trim();
    }

    public Integer getLongNum() {
        return longNum;
    }

    public void setLongNum(Integer longNum) {
        this.longNum = longNum;
    }
}